package com.controller.qsl;

import com.dao.qsl.Emp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Controller
public class GetEmp {
      @Autowired
      private Emp e;
      @RequestMapping("/QslPage/getename")
      @ResponseBody
      public List<String> getname(HttpServletRequest request){

	  return e.getename(request);
      }
}

